#include<iostream>

#include"Client.hpp"

int main(int argn,char* argv[])
{
    if(3!=argn)
    {
        printf("Usage error: %s\nUsage: %s ip port\n",argv[0],argv[0]);
        exit(-1);
    }
    int ip=inet_addr(argv[1]);
    int port=htons(stoi(argv[2]));
    Client client(ip,port);
    client.Start();
   
    return 0;
}